GET api/Item/GetItems?List[0]={List[0]}&List[1]={List[1]}&Pricing={Pricing}&ConnString={ConnString}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| List | Collection of integer |
Required |
|
| Pricing | integer |
Default value is 0 |
|
| ConnString | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
Collection of Item| Name | Description | Type | Additional information |
|---|---|---|---|
| UnitId | integer |
None. |
|
| Name | string |
None. |
|
| Onhand | decimal number |
None. |
|
| Price | decimal number |
None. |
|
| Currency | integer |
None. |
|
| Vat | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"UnitId": 1,
"Name": "sample string 2",
"Onhand": 3.0,
"Price": 4.0,
"Currency": 5,
"Vat": 6.0
},
{
"UnitId": 1,
"Name": "sample string 2",
"Onhand": 3.0,
"Price": 4.0,
"Currency": 5,
"Vat": 6.0
}
]
application/xml, text/xml
Sample:
<ArrayOfItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LibraAPI.Models">
<Item>
<Currency>5</Currency>
<Name>sample string 2</Name>
<Onhand>3</Onhand>
<Price>4</Price>
<UnitId>1</UnitId>
<Vat>6</Vat>
</Item>
<Item>
<Currency>5</Currency>
<Name>sample string 2</Name>
<Onhand>3</Onhand>
<Price>4</Price>
<UnitId>1</UnitId>
<Vat>6</Vat>
</Item>
</ArrayOfItem>